package com.springboot.demo.design.pattern.adapter;

/**
 * 旅馆
 *
 * @author supu
 * @date 2019-07-16 17:56
 **/
public class Hotel {
    private AndroidCharge androidCharge;

    public Hotel(AndroidCharge androidCharge) {
        this.androidCharge = androidCharge;
    }

    /**
     * 充电接口
     */
    public void charge(){
        this.androidCharge.androidCharge();
    }
}
